<div class="full-screen">
    <div class="page-group ">
        <foreach class="page page-current address_pageBOX bg_white">
            <div class="coupon_page_top charge_moneyTOP">
                <a href="javascript:history.back()"><{img class="coupon_top_return" src="images/icon04.png" app="wap"}></a>
                <div class="coupon_top_text">预存款明细</div>
                <a class="charge_money_mx" href="<{link app=b2c ctl=wap_member act=deposit}>">充值</a>
            </div>

            <div class="money_balanceBOX">
                <div class="money_balance money_balance_borderR">
                    <div class="money_balance_title">可用额度</div>
                    <div class="money_balance_number"><{$total_credit|cur_odr}></div>
                </div>

                <div class="money_balance money_balance_borderR">
                    <div class="money_balance_title">已用额度</div>
                    <div class="money_balance_number"><{$total_been|cur_odr}></div>
                </div>

                <div class="money_balance ">
                    <div class="money_balance_title">总额度</div>
                    <div class="money_balance_number"><{$t_credit|cur_odr}></div>
                </div>
                <div class="clearfix"></div>
            </div>

            <div style="height: 0.25rem;background: #f4f4f4;"></div>
            <{if count($advlogs)>0}>
            <div class="money_detail_title">
                <span class="money_detail_title_a">事件/时间</span>
                <span class="money_detail_title_b">存入/支出</span>
                <span class="money_detail_title_c">当前余额</span>
                <div class="clearfix"></div>
            </div>
            <div style="height: 0.25rem;background: #f4f4f4;"></div>
            <{foreach from=$advlogs item=adv}>
            <div class="money_detail_contentBOX">
                <div class="money_detail_content">
                    <div class="money_detail_A">
                        <div class="money_detail_A_type">
                            <{if $adv.order_id}>
                            <a href="<{link app="b2c" ctl="wap_member" act="orderdetail" arg0=$adv.order_id}>"><{$adv.message}></a>
                            <{else}>
                            <{$adv.message}>
                            <{/if}>
                        </div>
                        <div class="money_detail_A_time"><{$adv.mtime|cdate:FDATE_STIME}></div>
                    </div>
                    <div <{if $adv.import_money > 0}>class="money_detail_B"<{/if}> <{if $adv.explode_money > 0}>class="money_detail_B2"<{/if}>>
                    <{if $adv.import_money > 0}>+<{$adv.import_money|cur_odr}><{/if}>
                    <{if $adv.explode_money > 0}>-<{$adv.explode_money|cur_odr}><{/if}>
                    </div>
                    <div class="money_detail_C">
                        <{$adv.member_advance|cur_odr}>
                    </div>
                    <div class="clearfix"></div>
                </div>
            <{/foreach}>
            <{else}>
            <div>尚无交易历史</div>
            <{/if}>
            </div>

        </div>
    </div>
</div>
<script>
    $(function(){
        $('.nav_top_bg').hide();
        $('.bar-tab').hide();
    });
</script>
<{wap_pagers data=$pager}>

